<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil:  Fichier source de src/AffichageSDL.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">src/AffichageSDL.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_affichage_s_d_l_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef AFFICHAGESDL_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define AFFICHAGESDL_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;SDL/SDL.h&gt;</span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;SDL/SDL_ttf.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="_carte_8h.html" title="Création et gestion de Cartes, structure comprenant notamment un tableau de cases.">Carte.h</a>&quot;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_ville_8h.html" title="Définit la structure d&#39;une Ville.">Ville.h</a>&quot;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;../lib/SDL_framerate.h&quot;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a><a class="code" href="struct_struct_s_d_l.html">00011</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013  <span class="comment">/* attributs de l&#39;écran de jeu au démarrage*/</span>
<a name="l00014"></a><a class="code" href="struct_struct_s_d_l.html#ab9ec2491c55aca8af51271eadf73da74">00014</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#ab9ec2491c55aca8af51271eadf73da74">largeurEcran</a>;
<a name="l00015"></a><a class="code" href="struct_struct_s_d_l.html#a44f34fed4d26ea81c601290d9a57186c">00015</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a44f34fed4d26ea81c601290d9a57186c">hauteurEcran</a>;
<a name="l00016"></a><a class="code" href="struct_struct_s_d_l.html#ad2ab1bb5e8cffecae63ac7d14d1e9802">00016</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#ad2ab1bb5e8cffecae63ac7d14d1e9802">couleursEcran</a>;
<a name="l00017"></a>00017 
<a name="l00018"></a><a class="code" href="struct_struct_s_d_l.html#a8e5272a95363daf3a56e31d8d59d5763">00018</a>   SDL_Surface* <a class="code" href="struct_struct_s_d_l.html#a8e5272a95363daf3a56e31d8d59d5763">pageDemarrage</a>;
<a name="l00019"></a><a class="code" href="struct_struct_s_d_l.html#afbc802645078ee61d3dc7fe544ea7f96">00019</a>   SDL_Surface* <a class="code" href="struct_struct_s_d_l.html#afbc802645078ee61d3dc7fe544ea7f96">fond</a>;
<a name="l00020"></a><a class="code" href="struct_struct_s_d_l.html#a68e3cfa827fe2660bffbd33b17d85daf">00020</a>   SDL_Surface* <a class="code" href="struct_struct_s_d_l.html#a68e3cfa827fe2660bffbd33b17d85daf">fenetrePrincipale</a>; 
<a name="l00021"></a><a class="code" href="struct_struct_s_d_l.html#aec7cb42f6e7571997d7db921fc51b11c">00021</a>   SDL_Surface* <a class="code" href="struct_struct_s_d_l.html#aec7cb42f6e7571997d7db921fc51b11c">entete</a>;
<a name="l00022"></a><a class="code" href="struct_struct_s_d_l.html#a14c4e7a01ea9816d7ebfdad56e33cd24">00022</a>   SDL_Surface* <a class="code" href="struct_struct_s_d_l.html#a14c4e7a01ea9816d7ebfdad56e33cd24">colonne</a>;
<a name="l00023"></a><a class="code" href="struct_struct_s_d_l.html#abf5bfa705e66ffc1ddaa6ce46c960873">00023</a>   TTF_Font* <a class="code" href="struct_struct_s_d_l.html#abf5bfa705e66ffc1ddaa6ce46c960873">font</a>;
<a name="l00024"></a><a class="code" href="struct_struct_s_d_l.html#af7d2c6796f8e6b75c81135dd99bb39ac">00024</a>   SDL_Color <a class="code" href="struct_struct_s_d_l.html#af7d2c6796f8e6b75c81135dd99bb39ac">couleurTexte</a>;
<a name="l00025"></a>00025 
<a name="l00026"></a><a class="code" href="struct_struct_s_d_l.html#a6507194d54b6e11f71d5ca2a31e74966">00026</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a6507194d54b6e11f71d5ca2a31e74966">xDepCarte</a>; 
<a name="l00027"></a><a class="code" href="struct_struct_s_d_l.html#a75d838804c886a146d2817b2d7a22629">00027</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a75d838804c886a146d2817b2d7a22629">yDepCarte</a>; 
<a name="l00028"></a><a class="code" href="struct_struct_s_d_l.html#a54cf0c92da9c605486a97b9ee2d005a3">00028</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a54cf0c92da9c605486a97b9ee2d005a3">hauteurCarte</a>; 
<a name="l00029"></a><a class="code" href="struct_struct_s_d_l.html#af4dd0a423d9b1e2e93652c00924f4d25">00029</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#af4dd0a423d9b1e2e93652c00924f4d25">largeurCarte</a>;  
<a name="l00030"></a><a class="code" href="struct_struct_s_d_l.html#a224b91b8ff8ff8dc29f932537169b181">00030</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a224b91b8ff8ff8dc29f932537169b181">xVue</a>; 
<a name="l00031"></a><a class="code" href="struct_struct_s_d_l.html#af18002b4591cd458e1986d5ae4dd5e96">00031</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#af18002b4591cd458e1986d5ae4dd5e96">yVue</a>; 
<a name="l00032"></a><a class="code" href="struct_struct_s_d_l.html#abb9d08ecab6bcd94f49a311c3f2d1506">00032</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#abb9d08ecab6bcd94f49a311c3f2d1506">zVue</a>; 
<a name="l00033"></a><a class="code" href="struct_struct_s_d_l.html#afe1daa7e5d799e728f67ab5deca7470a">00033</a>   <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#afe1daa7e5d799e728f67ab5deca7470a">unitDist</a>; 
<a name="l00034"></a><a class="code" href="struct_struct_s_d_l.html#a19f040f26e3ca8082c87aa5b61b2e385">00034</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a19f040f26e3ca8082c87aa5b61b2e385">xCaseActive</a>;
<a name="l00035"></a><a class="code" href="struct_struct_s_d_l.html#a05cbda79c5219a2f995d14522362aa9c">00035</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a05cbda79c5219a2f995d14522362aa9c">yCaseActive</a>;
<a name="l00036"></a><a class="code" href="struct_struct_s_d_l.html#a74a0e6f8e97845188b6d0c4619b7b187">00036</a>   <span class="keywordtype">int</span> <a class="code" href="struct_struct_s_d_l.html#a74a0e6f8e97845188b6d0c4619b7b187">zCaseActive</a>;
<a name="l00037"></a><a class="code" href="struct_struct_s_d_l.html#aa047e37e10d51fff39d4f9ed62dfc2fa">00037</a>   <a class="code" href="struct_ville.html">Ville</a>* <a class="code" href="struct_struct_s_d_l.html#aa047e37e10d51fff39d4f9ed62dfc2fa">ville</a>;
<a name="l00038"></a>00038 } <a class="code" href="struct_struct_s_d_l.html">StructSDL</a>;
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="_affichage_s_d_l_8c.html#a5988de3cecb330ba8846868ae499b159">afficheCarte</a>(<a class="code" href="struct_struct_s_d_l.html">StructSDL</a>* structSDL, <a class="code" href="struct_carte.html" title="Informations concernant un ensemble de cases.">Carte</a>* carte);
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keywordtype">int</span> <a class="code" href="_affichage_s_d_l_8c.html#ad1b671619d97e9a13d24724424ab407b">affichage</a>();
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="_affichage_s_d_l_8c.html#a9dfd59273b382a2c278d1cd3115448dc">testAffichageSDL</a>();
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="preprocessor">#endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:14 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
